package com.ruoyi.dynamic.model.pojo.result.app;

import com.ruoyi.common.core.utils.CollectionUtils;
import com.ruoyi.dynamic.model.pojo.entity.RoomUserPostPermission;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@Schema(description = "APP-房间查看用户资料信息")
public class AppRoomUserPostResult implements Serializable {

    @Schema(description = "此用户是否被禁言")
    private boolean isBanUser;

    @Schema(description = "此用户是否被静音")
    private boolean isSilence;

    @Schema(description = "此用户是否在麦上")
    private boolean isUpMai;

    @Schema(description = "你拥有的权限列表")
    private List<RoomUserPostPermission> userPostPermissions = CollectionUtils.emptyList();
}
